<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加人员信息</title>
    <link rel="stylesheet" href="__PUBLIC__/css/person.css">
    <script src="__PUBLIC__/dpa/js/jquery-2.1.4.js"></script>
    <style>
        button{
            margin-left:50px;
            margin-top:50px;
        }
    </style>
</head>
<body>
<!--加载导航条开始-->
<include file="Public/nav"/>
<!--加载导航条结束-->
<div class="right-container">
    <h1>人员信息更改</h1>
        <form action="" method="post">
            <p><label>序号 :</label> <input type="text" name="id" value=""></p>
            <p><label>委托单位 : </label> <input type="text" name="requester" id="requester" value=""></p>
            <p><label>单位编码 :</label> <input type="text" name="unitsum" value=""></p>
            <p><label>单位全称 :</label> <input type="text" name="dwname" value=""></p>
            <p><label>备注 :</label> <input type="text" name="remark" value=""></p>
            <p><input type="submit" value="提交" class="bottom-btn"></p>
        </form>
</div>

</body>
<script>
    $('form').submit(function(){
        var requester = $('#requester').val();
        if(requester == ''){
            alert('委托单位不能为空');
            return false;
        }
    });
</script>
</html>